@echo off
REM PRIMER PARAMETRO path base de la chu
rem segundo parametro path completo de la dao
set interpath=data2\orange\app-config\querys
set xmlPath=%2
set xmlPath=%xmlPath:.=\%.xml
set xmlPath=%~1\%interpath%\%xmlPath%
echo creando xml: "%xmlPath%" para la chu %1 ...
type "c:\apps\Labs\hsvg\resources\template.xml" > "%xmlPath%"
echo listo!